Improve rspec's and configure travis ci