Added test for updating user profile