Fix integrationtests not robust on travis