Fix test_user_profile in tests.rb