unit tests for CountDownLatch

Use assertOpenEventually