Added testcase for LIBZMQ-566