ZMQ and unit test for caching functionality