Updated to clean temporary test directory more frequently