Fix a test dependent on json ordering.