Fix tests. Add travis.yml