update error handling test