Update document manipulation test after changes to document.js.