[TASK] add travis test script to package.json

so it can be in the package.json and run by npm run instead of the travis yml