Added tests for unhandled API errors.

2 jobs for unhandled-api-errors
in 5 minutes and 36 seconds and was queued for 1 second