 
             XCTAssertEqual(result.expansions.count, 1)
             XCTAssertEqual(result.expansions.first!.expandedTerms.count, 2)
-            XCTAssertEqual(result.expansions.first!.inputTerms!.count, 1)
+            XCTAssertEqual(result.expansions.first!.inputTerms?.count, 1)
             expectation2.fulfill()
         }
         waitForExpectations(timeout: timeout)

            ("testTrainingExamplesCRUD", testTrainingExamplesCRUD),
            ("testListCredentials", testListCredentials),
            ("testCredentialsCRUD", testCredentialsCRUD),
            ("testGetEnvironmentWithInvalidID", testGetEnvironmentWithInvalidID),
            ("testGetConfigurationWithInvalidID", testGetConfigurationWithInvalidID),
            ("testGetCollectionWithInvalidID", testGetCollectionWithInvalidID),

            ("testListCollectionFields", testListCollectionFields),
            ("testExpansionsCRUD", testExpansionsCRUD),
            ("testTokenizationDictionaryOperations", testTokenizationDictionaryOperations),
            ("testCreateAndDeleteStopwordList", testCreateAndDeleteStopwordList),
            ("testDocumentsCRUD", testDocumentsCRUD),
            ("testQuery", testQuery),
            ("testQueryWithNaturalLanguage", testQueryWithNaturalLanguage),
