Repaired tests for CommandExecutor