Extend the test for HTMLScriptElement.text.