test replace.