pyzmq changed
add asserts to catch regression