Add tests for script.js