Add failing hash tests.
enable hash calculation again
Merge pull request #211 from egirshov/pr-120

Fix hash calculation