Export `normalize` for testing.

Currently causing an error with Istanbul because running
`normalize.t.js` does not produce any coverage output. The normalize
function is copied and pasted into `normalize.t.js` for testing and the
test scripts themselves are not instrumented.