Fix travis not passing tests