Fix a test failure in Windows due to newline differences