refactor
rewrite tests to be hash agnostic