Fix Travis tests

Moreover, if future tests end up failing, logs should be displayed at the end of the Travis logs to allow easier debugging.