added unit test for profile_name