Why Task.yield() makes tests flaky and how to test Task in Swift reliably: ITaskFactory, runUntilIdle, and Swift Testing.