Test case for coroutine on handler.