Support sub-doc updates

We should exercise all methods in the patch object. I found bugs in my JS code by ensuring they all got run.