added a test.js file