Testing modifying a document