tests: check parsing of single- and double-quoted list keys

Change-Id: I34ce0aaf8c4ecef945699ab5f6f6c69c860e559f
diff --git a/tests/presence_containers.cpp b/tests/presence_containers.cpp
index 20e1d48..38bbfec 100644
--- a/tests/presence_containers.cpp
+++ b/tests/presence_containers.cpp
@@ -57,6 +57,22 @@
             expectedPath.m_nodes = {{{module_{"mod"}}, listElement_("list", keys)}, {container_("contInList")}};
         }
 
+        SECTION("mod:list[quote='double\"quote']/contInList")
+        {
+            input = "mod:list[quote='double\"quote']/contInList";
+            auto keys = std::map<std::string, std::string>{
+                {"quote", "double\"quote"}};
+            expectedPath.m_nodes = {{{module_{"mod"}}, listElement_("list", keys)}, {container_("contInList")}};
+        }
+
+        SECTION("mod:list[quote=\"single'quote\"]/contInList")
+        {
+            input = "mod:list[quote=\"single'quote\"]/contInList";
+            auto keys = std::map<std::string, std::string>{
+                {"quote", "single'quote"}};
+            expectedPath.m_nodes = {{{module_{"mod"}}, listElement_("list", keys)}, {container_("contInList")}};
+        }
+
         create_ expectedCreate;
         expectedCreate.m_path = expectedPath;
         command_ commandCreate = parser.parseCommand("create " + input, errorStream);