Changed test so that is not dependent on order of json properties 

(was very occasionally failing when properties occurred in different order)