xml parser CHANGE do not eat closing elements by lyxml_get_string()

To keep XML context (namespaces) for the returned string, the closing
element must stay preserved and processed explicitely by the caller.
However, test for mixed content is still preformed.
diff --git a/tests/src/test_xml.c b/tests/src/test_xml.c
index 216e6b2..16c9433 100644
--- a/tests/src/test_xml.c
+++ b/tests/src/test_xml.c
@@ -91,13 +91,13 @@
     assert_null(name);
     assert_int_equal(LYXML_END, ctx.status);
     assert_true(str[0] == '\0');
+    ctx.status = 0;
 
     /* end element */
     str = "</element>";
     assert_int_equal(LY_EVALID, lyxml_get_element(&ctx, &str, &prefix, &prefix_len, &name, &name_len));
     logbuf_assert("Opening and closing elements tag missmatch (\"element\"). Line number 1.");
 
-
     /* no element */
     logbuf_clean();
     str = p = "no data present";
@@ -350,7 +350,7 @@
     assert_int_equal(22, buf_len);
     assert_int_equal(21, len);
     assert_string_equal("€𠜎Øn \n<&\"\'> ROK", buf);
-    assert_string_equal("", str);
+    assert_string_equal("</a>", str);
     assert_int_equal(LYXML_ELEMENT, ctx.status);
     lyxml_context_clear(&ctx);