Checking the return value of CountDownLatch.await in tests.