zookeeper jmx remote monitoring: fixes from tests