Implement the rest of the tests and the non-copying attachments behaviour for updateDocument