Adding automatic tests and QA new feature "Multiple Profiles"

Most of the code is done, but need to spend some time testing out if everything is working.

The next step is to test the migration script since there are going to be some DB changes in the structure.