test deleting from rep.