test that the coroutine can return cleanly