mergepatch: add all examples from the draft

5 failures.
mergepatch: make all tests pass

Just a matter of applying clearNulls() where appropriate.