Test muted for document.write-created elements