Test abspath, defalt args for stdin and out, echo before run.