unit test user-profile-test.js complete