added test.js in the root folder for convenience