Making tests work with Travis