test file can have LF or CRLF line endings