JViewBaseTest::testEscape

Tests the escape method.