make test execution more robust