Make test robust against differences in line endings

git on Windows can change line endings on checkout, which was leading to a test failure.