Update str-replace tests