added npm test script in .travis.yml