Deletes the temp directories after running tests.