Add integration test for normalizeHash (Closes #1411).

normalizedHash has been reported to not be tested (#1411) and apparently there
are some issues with it. With this test in place people will have n starting point when wanting to work on related issue.