refactored profile update tests and their poms