Added documents index test (failing)