improve test behaviour on slow ci boxes