Add test for supporting document body in the document update handler