Modified test.js