coverage for DocumentIndexRestRepository