Ignore REE when < 4.0 in replace tests