         waitForExpectations(timeout: timeout)
 
         let expectation2 = self.expectation(description: "getTokenizationDictionaryStatus")
+        // NOTE: this is needed as a workaround to errors returned from getStatus before a creation event has resolved in the backend
+        sleep(200)
         discovery.getTokenizationDictionaryStatus(environmentID: environmentID, collectionID: collectionID) {
             response, error in
 

        waitForExpectations(timeout: timeout)
    }

    func testGetEnvironment() {
        let expectation = self.expectation(description: "getEnvironment")
        discovery.getEnvironment(environmentID: environment.environmentID!) {
            response, error in

            if let error = error {
                XCTFail(unexpectedErrorMessage(error))
                return
            }
            guard let result = response?.result else {
                XCTFail(missingResultMessage)
                return
            }

            XCTAssertEqual(self.environment.environmentID, result.environmentID)
            XCTAssertEqual(self.environment.name, result.name)
            expectation.fulfill()
        }
        waitForExpectations(timeout: timeout)
    }

    func testEnvironmentCRUD() {
        let expectation1 = self.expectation(description: "createEnvironment")
        let name = "swift-sdk-test-" + UUID().uuidString

            // Environments
            ("testListEnvironments", testListEnvironments),
            ("testListEnvironmentsByName", testListEnvironmentsByName),
            ("testEnvironmentCRUD", testEnvironmentCRUD),
            ("testListFields", testListFields),
            // Configurations
