Add test code for asyncio
Modify import style