Fixes #1036, adds test for hash core_ext while we're at it.
Merge pull request #1051 from yaauie/issue-1036/fix-hash-core_ext

Fixes #1036, adds test for hash core_ext while we're at it.