Don't make sendEvent blocking for tests: instead extract sendEventSync which the jobs calls internally from sendEvent, and call that from our unit tests that need it to run sync vs async.