Create test.js

Sample implementation