modified test for user edit profile feature