Make all specs green

Since some pull requests were accepted,  2 examples doesn't work. 
The commits in this pull request fixes it and add travis.yml to adopt travix-ci. 

Thanks,