Fixed travis ci, controllers, tests and routes