Copy over new TemporaryDirectoryTestCase