Dicts are unordered (unless you're using `collections.OrderedDict`), so dicts with more than one key-value pair can be serialized to more than one equivalent string representation. For the moment, this test only tests dicts with one key-value pair, so it's OK for now, but I would highly suggest that you modify this test to parse the JSON and compare the dicts, rather than compare the string representations.