Added test.js to test the modules