Add test.js - test code for mocha