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