Disallowing certain codes - unittests otherwise fall