fix tests
fix dependencies for TravisCI