Add travis and fix tests
Add Gemfile