created test for jsonPacker