 
     // MARK: - Negative Tests
 
-    /** Test getProfile() with text that is too short (less than 100 words). */
     func testProfileWithShortText() {
-        let description = "Try to analyze text that is too short (less than 100 words)."
-        let expectation = self.expectation(description: description)
-
-        guard let mobyDickIntro = mobyDickIntro else {
-            XCTFail("Unable to read MobyDickIntro.txt file.")
-            return
-        }
-
-        let failure = { (error: Error) in
-            expectation.fulfill()
-        }
-
-        personalityInsights.getProfile(
-            fromText: mobyDickIntro,
-            failure: failure,
-            success: failWithResult
-        )
+        let expectation = self.expectation(description: "profile(text:)")
+        let failure = { (error: Error) in expectation.fulfill() }
+        personalityInsights.profile(text: short, failure: failure, success: failWithResult)
         waitForExpectations()
     }
 }


    // MARK: - Test Configuration

    /** Set up for each test by loading text files and instantiating the service. */
    override func setUp() {
        super.setUp()
        continueAfterFailure = false

        waitForExpectations()
    }

    func testProfileAsCsvText() {
        let expectation = self.expectation(description: "profile(text:)")
        personalityInsights.profileAsCsv(text: text, failure: failWithError) { csv in
            XCTAssertGreaterThan(csv.count, 0)
            expectation.fulfill()
        }
        waitForExpectations()
    }

    func testProfileAsCsvHTML() {
        let expectation = self.expectation(description: "profile(html:)")
        personalityInsights.profileAsCsv(html: html, failure: failWithError) { csv in
            XCTAssertGreaterThan(csv.count, 0)
            expectation.fulfill()
        }
        waitForExpectations()
    }

    func testProfileAsCsvContent() {
        let expectation = self.expectation(description: "profile(content:)")
        let contentItem = ContentItem(
            content: text,
            id: "245160944223793152",
            created: 1427720427,
            updated: 1427720427,
            contenttype: "text/plain",
            language: "en",
            parentid: "",
            reply: false,
            forward: false
        )
        let content = Content(contentItems: [contentItem])
        personalityInsights.profileAsCsv(content: content, failure: failWithError) { csv in
            XCTAssertGreaterThan(csv.count, 0)
            expectation.fulfill()
        }
        waitForExpectations()
    }

    func testNeedsAndConsumptionPreferences() {
        let expectation = self.expectation(description: "profile(text:)")
        personalityInsights.profile(text: text, rawScores: true, consumptionPreferences: true, failure: failWithError) {
            profile in
            for need in profile.needs {
                XCTAssertNotNil(need.rawScore)
