Adds XCTest support for async testing.