! util: make testing agnostic to native newline characters, fixes #632
Merge pull request #733 from 2beaucoup/fix-newlines

Make testing agnostic to native newline characters, fixes #632