fix unit tests for zookeeper interface