         let params = ["herp":"derp"]
         
         naive.GET(uri: testURI, params: params, successJSON: { (json, response) -> () in
-            XCTAssertNil(json.error)
-            XCTAssertEqual("derp", json["args"]["herp"])
-            let httpResp = response as! NSHTTPURLResponse
-            XCTAssertEqual(testURI+"?herp=derp", httpResp.URL!.absoluteString)
-            self.networkExpectation!.fulfill()
+                XCTAssertNil(json.error)
+                XCTAssertEqual("derp", json["args"]["herp"])
+                let httpResp = response as! NSHTTPURLResponse
+                XCTAssertEqual(testURI+"?herp=derp", httpResp.URL!.absoluteString)
+                self.networkExpectation!.fulfill()
             }) { (error) -> Void in
                 XCTFail()
                 self.networkExpectation!.fulfill()

        let postObject = ["herp":"derp"];
        
        naive.POST(uri: "http://httpbin.org/status/500", postObject: postObject, success: { (responseJSON) -> Void in
            XCTFail()
            self.networkExpectation!.fulfill()
            }) { (error) -> Void in
                XCTAssertEqual(error.code, 400)
                XCTAssertEqual("HTTP Error 500", error.userInfo[NSLocalizedDescriptionKey] as? String)

        let expectedResponseJSON = JSON(postObject)
        
        naive.POST(uri: "https://httpbin.org/post", postObject: postObject, success: { (responseJSON, response) -> Void in
                XCTAssertEqual(expectedResponseJSON, responseJSON.dictionary!["json"])
                let httpResp = response as! NSHTTPURLResponse
                XCTAssertEqual("https://httpbin.org/post", httpResp.URL!.absoluteString)
                self.networkExpectation!.fulfill()
            }) { (error) -> Void in
                XCTFail()
                self.networkExpectation!.fulfill()
