Minor adjustment in TemporaryFileManagerTest.
Added tests for TemporaryFileManager to verify that the files are deleted.