Fix failing Travis test