fix hashmap test

used CollectionAssert.AreEquivalent because HashMap does not preserve
insertion order on fold/iter