Add integration test for normalizeHash - fix  bug when calling normalizeHash (Closes #1411).

normalizedHash has been reported to not be tested (#1411) and when called it wasn't allowing transforms to be applied.

This adds a test for normalizeHash and fixes the mentioned issue.