Make line endings in unit tests portable

Some unit tests are failing on *nix like OS's due to unit tests
having hard coded windows line endings in assert string constants.

This commit replaces instances of "\r\n" with platform agnostic:
Environment.NewLine.

Unfortunately I think this reduces readability, let us know if you have a better way in mind!