add correct test for index updates with document fetched from index