Index: uspace/lib/cpp/include/internal/test/tests.hpp
===================================================================
--- uspace/lib/cpp/include/internal/test/tests.hpp	(revision 27473fb8071b4c6bee9ba6ac9f3ca3a8be8ba4e0)
+++ uspace/lib/cpp/include/internal/test/tests.hpp	(revision d7f0b3f7505797fc40dc07d18f0dc48fa32f993a)
@@ -68,4 +68,5 @@
             void test_construction_and_assignment();
             void test_append();
+            void test_insert();
     };
 }
Index: uspace/lib/cpp/src/internal/test/string.cpp
===================================================================
--- uspace/lib/cpp/src/internal/test/string.cpp	(revision 27473fb8071b4c6bee9ba6ac9f3ca3a8be8ba4e0)
+++ uspace/lib/cpp/src/internal/test/string.cpp	(revision d7f0b3f7505797fc40dc07d18f0dc48fa32f993a)
@@ -38,4 +38,5 @@
         test_construction_and_assignment();
         test_append();
+        test_insert();
 
         return true;
@@ -154,3 +155,43 @@
         );
     }
+
+    void string_test::test_insert()
+    {
+        std::string check{"hello, world"};
+
+        std::string str1{", world"};
+        str1.insert(0, "hello");
+        test_eq(
+            "insert at the beggining",
+            str1.begin(), str1.end(),
+            check.begin(), check.end()
+        );
+
+        std::string str2{"hello,world"};
+        str2.insert(str2.begin() + 6, ' ');
+        test_eq(
+            "insert char in the middle",
+            str2.begin(), str2.end(),
+            check.begin(), check.end()
+        );
+
+        std::string str3{"heo, world"};
+        str3.insert(str3.begin() + 2, 2ul, 'l');
+        test_eq(
+            "insert n chars",
+            str3.begin(), str3.end(),
+            check.begin(), check.end()
+        );
+
+        std::string str4{"h, world"};
+        std::string insertee{"ello"};
+        str4.insert(str4.begin() + 1, insertee.begin(),
+                    insertee.end() - 1);
+        test_eq(
+            "insert iterator range",
+            str4.begin(), str4.end(),
+            check.begin(), check.end()
+        );
+        /* std::printf("|%s|\n", str4.c_str()); */
+    }
 }
