refactoring according to changes in zmq-support
add test for failure scenario