Fix sysrepo bug with key-less lists

More info on Github.

Bug: https://github.com/sysrepo/sysrepo/issues/2210
Change-Id: I87601a85dbd77d70634ade2069642eb9ceb075b1
diff --git a/tests/example-schema.yang b/tests/example-schema.yang
index 372b83d..6c546d3 100644
--- a/tests/example-schema.yang
+++ b/tests/example-schema.yang
@@ -303,4 +303,17 @@
             bit parity;
         }
     }
+
+    container users {
+        config false;
+        list userList {
+            leaf name {
+                type string;
+            }
+            leaf otherfield {
+                type string;
+            }
+        }
+    }
+
 }