diff --git a/Tests/GeoLib/TestDuplicateGeometry.cpp b/Tests/GeoLib/TestDuplicateGeometry.cpp
index 22188b8cf275b23879d1a5ebf5a660af44418f32..af1f4e71bd56af8bb570117240025623e48f619c 100644
--- a/Tests/GeoLib/TestDuplicateGeometry.cpp
+++ b/Tests/GeoLib/TestDuplicateGeometry.cpp
@@ -117,7 +117,7 @@ TEST(GeoLib, DuplicateGeometry)
         auto sfcs = std::make_unique<std::vector<GeoLib::Surface*>>();
         for (int i = 0; i < n_sfcs; ++i)
         {
-            int const n_tris = std::rand() % 10;
+            int const n_tris = std::rand() % 10 + 1;
             auto* sfc = new GeoLib::Surface(*geo.getPointVec(input_name));
             for (int j = 0; j < n_tris; ++j)
             {
@@ -125,14 +125,8 @@ TEST(GeoLib, DuplicateGeometry)
                                  std::rand() % n_pnts,
                                  std::rand() % n_pnts);
             }
-            if (sfc->getNumberOfTriangles() > 0)
-            {
-                sfcs->push_back(sfc);
-            }
-            else
-            {
-                delete sfc;
-            }
+            ASSERT_GT(sfc->getNumberOfTriangles(), 0);
+            sfcs->push_back(sfc);
         }
         geo.addSurfaceVec(std::move(sfcs), input_name);
     }