added test for userprofile