test BUGFIX connected is now checked properly
diff --git a/tests/test_io.c b/tests/test_io.c
index 6ad68ad..203e3cc 100644
--- a/tests/test_io.c
+++ b/tests/test_io.c
@@ -71,8 +71,6 @@
     w->rpc = nc_rpc_lock(NC_DATASTORE_RUNNING);
     assert_non_null(w->rpc);
 
-    w->session->ti.fd.in = -1;
-
     *state = w;
 
     return 0;
@@ -166,6 +164,7 @@
 
     return test_write_rpc_bad(state);
 }
+
 int main(void)
 {
     const struct CMUnitTest io[] = {