use hash for tests
Merge pull request #9 from andrewjpage/master

tests output in hash