Test exec command