Fixes test suites on travis