finish test replace