updated tests for the user profile functionality