asyncio: Refactor tests: add a base TestCase class
13 files changed