added tests for edit profile and user view profile