unit tests for CountDownLatch

Don't assert the count. If you don't trust the count after you retrieved the latch from the hzInstance, make a test method for it. But in this method you should rely on that to work. Otherwise every test needs to have a lot of unwanted asserts and makes a test very cumbersome.