improved docsindexer tests