Make test suite more robust against very slow test suites