Wait for all tests to complete.