             }
 
             XCTAssertNil(error)
+
+            e.fulfill()
         }).resume()
 
         waitForExpectationsWithTimeout(3, handler: nil)

        NSURLSession.sharedSession().dataTaskWithRequest(request, completionHandler: { [weak self] (data, response, error) -> Void in
            guard let weakSelf = self else { return }

            e.fulfill()

            if let data = data {
                XCTAssertNotNil(data)
                weakSelf.verifySignUpData(data)

            weakSelf.verifyResponseCode(response: response, statusCode: 200)

            XCTAssertNil(error)

            e.fulfill()

        }).resume()

        waitForExpectationsWithTimeout(3, handler: nil)
