add test.js file