add test case for invalid characters in cert commonnames