testing the document.write