add zookeeper manager unit test cases.
add unit test.