Executor testability

Increase testability of Executor by allowing custom config object to be passed in constructor.