Test method to write Twitter script tag to document.