Test shell command