Simplify and fix Change.apply tests for replace