Implement test for profile_controller