Updated tests with UserProfileRepository