Added tests for profile_name validation