Fix tests by running executions on this thread so the test waits for things to finish by blocking on the executor call.