 
     func testPOSTRequestWithJSONParametersDebugDescription() {
         let URL = "http://httpbin.org/post"
-        let request = Alamofire.request(.POST, URL, parameters: ["foo": "bar"], encoding: .JSON)
+        let request = manager.request(.POST, URL, parameters: ["foo": "bar"], encoding: .JSON)
         let components = cURLCommandComponents(request)
 
         XCTAssert(components[0..<3] == ["$", "curl", "-i"], "components should be equal")

    func testPOSTRequestWithCookieDebugDescription() {
        let URL = "http://httpbin.org/post"

        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()

        let properties = [
            NSHTTPCookieDomain: "httpbin.org",
            NSHTTPCookiePath: "/post",

            NSHTTPCookieValue: "bar",
        ]
        let cookie = NSHTTPCookie(properties: properties)!
        manager.session.configuration.HTTPCookieStorage?.setCookie(cookie)

        let request = manager.request(.POST, URL)
        let components = cURLCommandComponents(request)

