port all tests to use coroutine correctly.