added a better test for profile names in order to reflect the names that are really allowed
refactored the regex for profile names to match everything in the given name