Test command execution.