fix tests, add .travis.yml