[TESTS] mock directory. [UPDATE] added pruning.