def test_json_deserializer(): _dict = {"foo": ["bar", "stool"]} val = json_serializer(_dict) sdict = json_deserializer(val) assert _dict == sdict