log CHANGE message improvements
diff --git a/tests/utests/restriction/test_pattern.c b/tests/utests/restriction/test_pattern.c
index 857a7c4..94539d6 100644
--- a/tests/utests/restriction/test_pattern.c
+++ b/tests/utests/restriction/test_pattern.c
@@ -376,10 +376,10 @@
     /* test print error */
     TEST_ERROR_XML("TPATTERN_0", "T128");
     CHECK_LOG_CTX("pattern 0 error message",
-            "Schema location /TPATTERN_0:port, line number 1.");
+            "Schema location \"/TPATTERN_0:port\", line number 1.");
     TEST_ERROR_XML("TPATTERN_0", "ahoj");
     CHECK_LOG_CTX("pattern 1 error message",
-            "Schema location /TPATTERN_0:port, line number 1.");
+            "Schema location \"/TPATTERN_0:port\", line number 1.");
 
 }
 
diff --git a/tests/utests/restriction/test_range.c b/tests/utests/restriction/test_range.c
index 8c43ebe..f202b6c 100644
--- a/tests/utests/restriction/test_range.c
+++ b/tests/utests/restriction/test_range.c
@@ -386,13 +386,13 @@
     /* test print error */
     TEST_ERROR_XML("TRANGE_0", "-1");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_0:port, line number 1.");
+            "Schema location \"/TRANGE_0:port\", line number 1.");
     TEST_ERROR_XML("TRANGE_0", "51");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_0:port, line number 1.");
+            "Schema location \"/TRANGE_0:port\", line number 1.");
     TEST_ERROR_XML("TRANGE_0", "127");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_0:port, line number 1.");
+            "Schema location \"/TRANGE_0:port\", line number 1.");
 
     /* xml test */
     schema = MODULE_CREATE_YANG("TRANGE_1", "leaf port {type uint8 {"
@@ -407,13 +407,13 @@
     /* test print error */
     TEST_ERROR_XML("TRANGE_1", "0");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_1:port, line number 1.");
+            "Schema location \"/TRANGE_1:port\", line number 1.");
     TEST_ERROR_XML("TRANGE_1", "51");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_1:port, line number 1.");
+            "Schema location \"/TRANGE_1:port\", line number 1.");
     TEST_ERROR_XML("TRANGE_1", "127");
     CHECK_LOG_CTX("error message",
-            "Schema location /TRANGE_1:port, line number 1.");
+            "Schema location \"/TRANGE_1:port\", line number 1.");
 
 }