Make pruning use the correct config and clean up *before* running tests, too.