minor addition to patches documentation
Made patches completely self-contained.
Added test for createPatchOp