TestCommand: do not enter into a directory