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