         XCTAssertEqual(records[1], ["zxcv", "asdf", "qw\"er"])
     }
 
-    func testExample8() {
-        let csv = "abab,,cdcd,efef\r\nzxcv,asdf,\"qw\"\"er\","
-        let encoding = NSUTF8StringEncoding
-        let records = parseCSV(csv, encoding: encoding)
-        XCTAssertEqual(records[0], ["abab", "", "cdcd", "efef"])
-        XCTAssertEqual(records[1], ["zxcv", "asdf", "qw\"er", ""])
-    }
-
-    func testExample9() {
+    func testEmptyField() {
+        let csv = "abab,,cdcd,efef\r\nzxcv,asdf,\"qw\"\"er\","
+        let encoding = NSUTF8StringEncoding
+        let records = parseCSV(csv, encoding: encoding)
+        XCTAssertEqual(records[0], ["abab", "", "cdcd", "efef"])
+        XCTAssertEqual(records[1], ["zxcv", "asdf", "qw\"er", ""])
+    }
+
+    func testLastCR() {
         let csv = "abab,,cdcd,efef\r\nzxcv,asdf,\"qw\"\"er\",\r"
         let encoding = NSUTF8StringEncoding
         let records = parseCSV(csv, encoding: encoding)


    static var allTests : [(String, (CSVReaderTests) -> () throws -> Void)] {
        return [
            ("testExample1", testExample1),
        ]
    }


        XCTAssertEqual(records[1], ["zxcv", "asdf", "qwer"])
    }

    func testQuotationMark2() {
        let csv = "abab,cdcd,efef\r\nzxcv,asdf,\"qw\"\"er\""
        let encoding = NSUTF8StringEncoding
        let records = parseCSV(csv, encoding: encoding)
