Add document CRUD test for index updates