 
     func testLastCRLF() {
         let csv = "abab,,cdcd,efef\r\nzxcv,asdf,\"qw\"\"er\",\r\n"
-        let encoding = NSUTF8StringEncoding
-        let records = parseCSV(csv, encoding: encoding)
+        let encoding = String.Encoding.utf8
+        let records = parse(csv: csv, encoding: encoding)
         XCTAssertEqual(records.count, 2)
         XCTAssertEqual(records[0], ["abab", "", "cdcd", "efef"])
         XCTAssertEqual(records[1], ["zxcv", "asdf", "qw\"er", ""])


    func testLineBreakCRLFCRLF() {
        let csv = "qwe,asd\r\n\r\nzxc,rty"
        let encoding = NSUTF8StringEncoding
        let records = parseCSV(csv, encoding: encoding)
        XCTAssertEqual(records.count, 3)
        XCTAssertEqual(records[0], ["qwe", "asd"])
        XCTAssertEqual(records[1], [""])

    
    func testLineBreakLFLF() {
        let csv = "qwe,asd\n\nzxc,rty"
        let encoding = String.Encoding.utf8
        let records = parse(csv: csv, encoding: encoding)
        XCTAssertEqual(records.count, 3)
        XCTAssertEqual(records[0], ["qwe", "asd"])
        XCTAssertEqual(records[1], [""])
