improved DocsIndexer tests