Added tests for profile_name presence, uniqueness and format.