The newline characters were not \r\n so the test was failing on the console