Extension to XCTest for asynchronous testing