Added tests for user profile correctness.