(test_json_wrap) fixing minor syntactical bug in TestListener