Create test.js

new test code