tests CHANGE api changes reflected
diff --git a/tests/test_io.c b/tests/test_io.c
index 5b23b1c..f2d6811 100644
--- a/tests/test_io.c
+++ b/tests/test_io.c
@@ -62,7 +62,7 @@
 
     w->session->status = NC_STATUS_RUNNING;
     w->session->version = NC_VERSION_10;
-    w->session->msgid = 999;
+    w->session->opts.client.msgid = 999;
     w->session->ti_type = NC_TI_FD;
     w->session->ti.fd.in = STDIN_FILENO;
     w->session->ti.fd.out = STDOUT_FILENO;