Fixed issue with CRLF endings on windows for tests (closes #170)