fix test and add travis.yml