Minor test fix and add .travis.yml