purge index when deleting test data
refactor