Fix travis file
Add test for the generated API