unit tests for CountDownLatch

You should rename this one to testDestroy.

But what happens to waiting threads when the latch is destroyed. Also interesting to know.