fixed test for __str__ that was assuming a certain order of keys etc.