diff --git a/test/runtests.jl b/test/runtests.jl
index 66c86a7b0762ae906ec01d6889870ece14b3612e..7c351fcf829ba790b14f6be689bb9ab30b359f91 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -137,4 +137,16 @@ end
         @test_throws CaosDB.Exceptions.GenericCaosDBException retrieve(["20", "21", "22"])
     end
 
+    @testset "Test entity insertion" begin
+        ent_with_name = CaosDB.Entity.create_recordtype("TestEnt")
+        single_insert_transaction = create_transaction()
+        add_insert_entity(single_insert_transaction , ent_with_name)
+        execute(single_insert_transaction)
+        results = get_results(single_insert_transaction )
+        @test length(results) == 1
+        @test has_errors(results[1]) == false
+        @test get_id(results[1]) != ""
+
+    end
+
 end