fix .travis.yml and test