Adding working directory to command line tests as the target directory does not exist