Travis testing and fixing tests

- Travis setup
- Tests fixed