added test.js