Move some integration to cli

* TestRunWorkdirExistsAndIsFile
* TestRunExit