Enhanced the SimilarityFileTest to delete the test file when it's done.