Fixed test for CommandExecutor