test correct format for profile name