Fix test to work on Windows

Help out us poor bastards that have to develop on Windows and make this
test line ending agnostic
Merge pull request #841 from sonatype/windows-love

TRIVIAL: Fix test to work on Windows