Add tests, package.json and .travis.yml