add ScriptFrontend unit test