fix tests and travis exec