Fix test failure on Windows (line separator CR/LF)