test IO in coroutine