improved docsindexer test