[TESTS] Fix test to use index-level doc IDs instead of segment-level doc IDs.