(test_json_wrap) fixing minor syntactical bug in test_exception(), also the slightly more informative assertion that found it