Fix unit tests: should not delete output dir