Update replace.spec.js