tweaking some UT's handling of line endings to be cross platform