tests: newline fixes when on windows