Add additional test coverage to ShellTask.