             weakSelf.verifyResponseCode(response: response, statusCode: 200)
 
             XCTAssertNil(error)
+
+            e.fulfill()
+
         }).resume()
 
         waitForExpectationsWithTimeout(3, handler: nil)

        XCTAssertEqual(1, OHHTTPStubs.allStubs().count)

        runMedicationTest()
    }

    func testIsRunningAutomationTestsFalse() {

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

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