Uncomments the 'replace the whole doc' tests

Also noticed an issue with the patch test that I suspect relies on the iteration order of a map (which go specifically does not guarantee to be deterministic)