Add leafref test for YangSchema::leafType

Change-Id: I0a34891b31ec106efce0a0b5604ef69d7d5d9a73
diff --git a/tests/yang.cpp b/tests/yang.cpp
index d189f50..fc57d3f 100644
--- a/tests/yang.cpp
+++ b/tests/yang.cpp
@@ -692,7 +692,7 @@
                 type = yang::LeafDataTypes::Uint8;
             }
 
-            SECTION("leafInt15")
+            SECTION("leafInt16")
             {
                 node.first = "example-schema";
                 node.second = "leafInt16";
@@ -741,6 +741,13 @@
                 type = yang::LeafDataTypes::Enum;
             }
 
+            SECTION("activeNumber")
+            {
+                node.first = "example-schema";
+                node.second = "activeNumber";
+                type = yang::LeafDataTypes::LeafRef;
+            }
+
             REQUIRE(ys.leafType(path, node) == type);
         }
         SECTION("childNodes")