Added dom replacer test