Allow a NULL executorContext to be passed for testing