coroutine: fix unit-test (error_code + errc)