Added tests for Edit Profile page and implemented Edit view