diff --git a/test/gtest_track_matrix.cpp b/test/gtest_track_matrix.cpp
index ef66aa3dff9df69f39fcdd8f5079fd41f59ca969..fed1010e8d193c15e4bf247e24a98464340081e4 100644
--- a/test/gtest_track_matrix.cpp
+++ b/test/gtest_track_matrix.cpp
@@ -37,11 +37,11 @@ class TrackMatrixTest : public testing::Test
 
             // unlinked frames
             // Some warnings will be thrown "linking with nullptr" for emplacing without providing frame pointer
-            F0 = FrameBase::emplaceKeyFrame<FrameBase>(nullptr, 0.0, nullptr);
-            F1 = FrameBase::emplaceKeyFrame<FrameBase>(nullptr, 1.0, nullptr);
-            F2 = FrameBase::emplaceKeyFrame<FrameBase>(nullptr, 2.0, nullptr);
-            F3 = FrameBase::emplaceKeyFrame<FrameBase>(nullptr, 3.0, nullptr);
-            F4 = FrameBase::emplaceKeyFrame<FrameBase>(nullptr, 4.0, nullptr);
+            F0 = FrameBase::createNonKeyFrame<FrameBase>(0.0, nullptr);
+            F1 = FrameBase::createNonKeyFrame<FrameBase>(1.0, nullptr);
+            F2 = FrameBase::createNonKeyFrame<FrameBase>(2.0, nullptr);
+            F3 = FrameBase::createNonKeyFrame<FrameBase>(3.0, nullptr);
+            F4 = FrameBase::createNonKeyFrame<FrameBase>(4.0, nullptr);
 
             // unlinked features
             // Some warnings will be thrown "linking with nullptr" for emplacing without providing capture pointer