Improved CreateGroupLogic.
Add pattern matching for  name field.
Changed test.