Better testing for SandboxApi.dispatch_request() uncaught exception handling