Fix some tests on windows by normalizing EOL