Add test for module with revision

This failed in libyang2, so I'm adding a test first.

Change-Id: I9b6e1e8eb7c423f4f53889638784d36d0bb826ce
diff --git a/tests/yang.cpp b/tests/yang.cpp
index 4905166..85df376 100644
--- a/tests/yang.cpp
+++ b/tests/yang.cpp
@@ -485,6 +485,15 @@
         throw std::logic_error("unrecognized submodule "s + subModule);
     });
     ys.addSchemaString(second_schema);
+    ys.addSchemaString(R"(
+module schema-with-revision {
+    yang-version 1.1;
+    namespace "http://example.com/lol";
+    prefix oof;
+
+    revision "2022-01-12";
+}
+    )");
 
     schemaPath_ path{Scope::Absolute, {}};
     ModuleNodePair node;
@@ -494,6 +503,7 @@
         SECTION("isModule")
         {
             REQUIRE(ys.isModule("example-schema"));
+            REQUIRE(ys.isModule("schema-with-revision"));
         }
 
         SECTION("listHasKey")