zscanner: add test for DOS newline detection