Fix arbitrary test failure because of insufficient sleep time

Currently `testConcurrentRandomIncrement` was using `Thread.sleep` for waiting all job done. But some times, It can take more than 10 second to complete all jobs. By using `CountDownLatch`, it can be ensure that all the jobs done in test.