Fixing tests for user profile