avoid null pointers in zk map test if the map is slow to update.
Merge pull request #344 from continuuity/feature/fix-zkmap-test-again

avoid null pointers in zk map test if the map is slow to update.