Modified test scripts of Toolbar.js