test: Use error handling of Deferred chain