test of the replace