fix running tests in parallel