tests BUGFIX fix binnary test case. In this case parsed data should be empty string. Fix xml test by change checking parameter from name to value.
diff --git a/tests/utests/basic/test_xml.c b/tests/utests/basic/test_xml.c
index aa13893..427f3cf 100644
--- a/tests/utests/basic/test_xml.c
+++ b/tests/utests/basic/test_xml.c
@@ -333,7 +333,7 @@
 
     assert_int_equal(LY_SUCCESS, lyxml_ctx_next(xmlctx));
     assert_int_equal(LYXML_ATTR_CONTENT, xmlctx->status);
-    assert_true(!strncmp("val", xmlctx->name, xmlctx->name_len));
+    assert_true(!strncmp("val", xmlctx->value, xmlctx->value_len));
     assert_int_equal(xmlctx->ws_only, 0);
     assert_int_equal(xmlctx->dynamic, 0);
     lyxml_ctx_free(xmlctx);
diff --git a/tests/utests/data/test_types.c b/tests/utests/data/test_types.c
index b6700db..7bdf4a2 100644
--- a/tests/utests/data/test_types.c
+++ b/tests/utests/data/test_types.c
@@ -367,7 +367,7 @@
     CHECK_PARSE_LYD("<binary-norestr xmlns=\"urn:tests:types\">\n    \t\n  </binary-norestr>", tree);
     assert_non_null(tree);
     tree = tree->next;
-    TEST_PATTERN_1(tree, "binary-norestr", 1, BINARY, "</binary-norestr>");
+    TEST_PATTERN_1(tree, "binary-norestr", 1, BINARY, "");
     lyd_free_all(tree);
 
     CHECK_PARSE_LYD("<binary-norestr xmlns=\"urn:tests:types\"></binary-norestr>", tree);