NormalizeNewLines
Fix Normalize
Add tests for normalize