adds integration test for edit profile