added benchmark for term facet processing
fix missing close in index test