Fixes 1 unit test that breaks on a system using en-US settings, and another that breaks if the source file uses \n line ends instead of \r\n.