         let request = NSMutableURLRequest(URL: requestURL)
         request.HTTPMethod = "POST"
 
-        let e = expectationWithDescription("...")
+        let e = expectationWithDescription("Hitting sign up endpoint")
 
         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)
             } else {
                 XCTFail("No data returned.")
             }
+
+            weakSelf.verifyResponseCode(response: response, statusCode: 200)
+
             XCTAssertNil(error)
         }).resume()
 

        runMedicationTest()
    }

    func runMedicationTest() {
        guard let requestURL = NSURL(string: "https://example.com/medications") else {
            XCTFail("Invalid URL.")
            return
        }

        let request = NSMutableURLRequest(URL: requestURL)
        request.HTTPMethod = "GET"

        let e = expectationWithDescription("...")

        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.verifyMedicationData(data)
            } else {
                XCTFail("No data returned.")
            }
            XCTAssertNil(error)
        }).resume()

        waitForExpectationsWithTimeout(3, handler: nil)
    }

    func testIsRunningAutomationTestsFalse() {
        XCTAssertFalse(HTTPStubber.isRunningAutomationTests())
    }

    }

    func verifyMedicationData(data: NSData) {
        if let json = NSString(data: data, encoding: NSUTF8StringEncoding) {
            XCTAssertNotNil(json)
            let expectedString = "{\n    \"medications\": [{\n        \"id\": 99,\n        \"profile_id\": 260,\n        \"name\": \"Prozac\",\n        \"details\": null,\n        \"frequency\": \"daily\",\n        \"dosage\": \"200 mg\",\n        \"notify\": false,\n        \"medication_times\": [ {\n            \"time\": \"1980-06-20T09:30:00.000Z\"\n        }]\n    }]\n}"
            XCTAssertEqual(expectedString, json)
