Fix npm test script
Add travis yml config file