Make test work independent of hash order.