remove deleted term infos, test.