DNN-5990 Added test for ensuring that modifying search documents does not create duplicates.