basic asyncio and connection handling + pytest