add test script to package.json, add .travis.yml