Make tests work on Travis