Added some tests, fixed bug with user profile name