testing task execution in shell