added tests, zmq ver, -q wait option