Added method and test for array-ifying a has
h