Fixed the tearDown of FileTests