Fix test failures
Add a .travis.yml