Make test not depend on unspecified order between shards