fix key and value in hashes

The key and value were in the wrong order. With this, the test will result in -27 instead of nil.
Merge pull request #25 from Gibheer/patch-1

fix key and value in hashes