JHtmlTest::testScript

Tests the script method.