Implemented test for Executor.