ValueError on special chars in name

Check that the check name contains only valid characters.