Add module unit test
Add travis ci configuration file for js