 
 class JeevesTests: XCTestCase {
 
-    func testRequestHeader() throws {
-        print("Tested")
+    func testReadHeader() throws {
         let socket = TestSocket()
         let header = try Request.Header(socket)
 

    extension JeevesTests: XCTestCaseProvider {
        var allTests : [(String, () throws -> Void)] {
            return [
                       ("testRequestHeader", testRequestHeader)
            ]
        }
    }

        XCTAssert(fields["Connection"] == "close")
        XCTAssert(fields["Host"] == "localhost:8080")
    }
    
    func testReadRequest() throws {
        let socket = TestSocket()
        let request = try socket.readRequest()
        XCTAssert(request.data["hello"]?.string == "world")
    }
}
