Implemented test for invalid characters in name.