         let additionalHeaders = ["X-Some-Custom-Header":"hey-hi-ho"]
         
         naive.POST("https://httpbin.org/post", postObject: postObject, additionalHeaders: additionalHeaders, successJSON: { (responseJSON, response) -> Void in
-                XCTAssertEqual("hey-hi-ho", responseJSON["headers"]["X-Some-Custom-Header"].string)
-                self.networkExpectation!.fulfill()
-            }) { (error) -> Void in
-                XCTFail()
-                self.networkExpectation!.fulfill()
+            XCTAssertEqual("hey-hi-ho", responseJSON["headers"]["X-Some-Custom-Header"].string)
+            self.networkExpectation!.fulfill()
+        }) { (error) -> Void in
+            XCTFail()
+            self.networkExpectation!.fulfill()
         }
         self.waitForExpectationsWithTimeout(networkTimeout, handler: nil)
     }

        let url = NSBundle(forClass: self.dynamicType).URLForResource("hijack_guarded", withExtension: "json")
        let uri = url?.absoluteString
    
        naive.GET(uri!, params: nil, responseFilter:prefixFilter, successJSON: { (json, response) -> () in
                XCTAssertEqual(JSON(["feh":"bleh"]), json)
                self.networkExpectation!.fulfill()
            }) { (error) -> Void in
                XCTFail(error.description)
                self.networkExpectation!.fulfill()
        }
        
        self.waitForExpectationsWithTimeout(networkTimeout, handler: nil)

        naive.GET("http://httpbin.org/status/404", successImage: { (image, response) -> () in
            XCTFail()
            self.networkExpectation!.fulfill()
        }) { (error) -> () in
            XCTAssertEqual(404, error.code)
            self.networkExpectation!.fulfill()
        }
        
        self.waitForExpectationsWithTimeout(networkTimeout, handler: nil)
