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

        let expectedResponseJSON = JSON(postObject)
        
        naive.POST("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()
        }
        self.waitForExpectationsWithTimeout(networkTimeout, handler: nil)
    }
