add test case for delete indexed doc