Create test.js

Test case