test for disallowed char