Fixes travis build

`npm test` was not defined in package.json. This PR fixes that.