         }
 
         do {
-            _ = try await { callback in packageCollections.moveCollection(mockCollections[2].source, to: 0, callback: callback) }
-            let list = try await { callback in packageCollections.listCollections(callback: callback) }
+            _ = try tsc_await { callback in packageCollections.moveCollection(mockCollections[2].source, to: 0, callback: callback) }
+            let list = try tsc_await { callback in packageCollections.listCollections(callback: callback) }
 
             let expectedOrder = [
                 mockCollections[0].identifier: 1,

        let packageCollections = PackageCollections(configuration: configuration, storage: storage, providers: providers)

        do {
            let list = try await { callback in packageCollections.listCollections(callback: callback) }
            XCTAssertEqual(list.count, 0, "list should be empty")
        }

        try mockCollections.forEach { collection in
            _ = try await { callback in packageCollections.addCollection(collection.source, order: nil, callback: callback) }
        }

        do {
            let list = try await { callback in packageCollections.listCollections(callback: callback) }
            XCTAssertEqual(list, mockCollections, "list count should match")
        }
    }


        try mockCollections.enumerated().forEach { index, collection in
            let profile = index % 2 == 0 ? Array(profiles.keys)[0] : Array(profiles.keys)[1]
            let collection = try tsc_await { callback in packageCollections.addCollection(collection.source, order: nil, to: profile, callback: callback) }
            if profiles[profile] == nil {
                profiles[profile] = .init()
            }
            profiles[profile]!.append(collection)
        }

        let list = try tsc_await { callback in packageCollections.listProfiles(callback: callback) }
        XCTAssertEqual(list.count, profiles.count, "list count should match")

        try profiles.forEach { profile, profileCollections in
            let list = try tsc_await { callback in packageCollections.listCollections(in: profile, callback: callback) }
            XCTAssertEqual(list.count, profileCollections.count, "list count should match")
        }
    }
