Fix test suite on Travis