yanglint TEST option --present
diff --git a/tools/lint/tests/data/modleaf.xml b/tools/lint/tests/data/modleaf.xml
new file mode 100644
index 0000000..408936a
--- /dev/null
+++ b/tools/lint/tests/data/modleaf.xml
@@ -0,0 +1 @@
+<lfl xmlns="urn:yanglint:modleaf">7</lfl>
diff --git a/tools/lint/tests/data/modmandatory.xml b/tools/lint/tests/data/modmandatory.xml
new file mode 100644
index 0000000..108cb2a
--- /dev/null
+++ b/tools/lint/tests/data/modmandatory.xml
@@ -0,0 +1,3 @@
+<mmc xmlns="urn:yanglint:modmandatory">
+  <lft>9</lft>
+</mmc>
diff --git a/tools/lint/tests/data/modmandatory_invalid.xml b/tools/lint/tests/data/modmandatory_invalid.xml
new file mode 100644
index 0000000..de71895
--- /dev/null
+++ b/tools/lint/tests/data/modmandatory_invalid.xml
@@ -0,0 +1,3 @@
+<mmc xmlns="urn:yanglint:modmandatory">
+  <lff>9</lff>
+</mmc>