Tests for Executor