Make the tests for tag hashes independent of order.