Wrote test for validating profile_name