Add tests to the executor module