diff --git a/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWrite.cxx b/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWrite.cxx
index 342c639a981f0935a06a2005522e70ab277c847e..b2a29cb13c9e78624f56244107378fdd9df6e964 100644
--- a/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWrite.cxx
+++ b/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWrite.cxx
@@ -78,7 +78,7 @@ StatusCode xAODTestWrite::execute (const EventContext& ctx) const
 {
   unsigned int count = ctx.eventID().event_number() + 1;
 
-  SG::ReadHandle<DMTest::CVec> cvec (m_cvecKey);
+  SG::ReadHandle<DMTest::CVec> cvec (m_cvecKey, ctx);
 
   auto trig_coll = std::make_unique<DMTest::CVec>();
   auto trig_store = std::make_unique<DMTest::CTrigAuxContainer>();
diff --git a/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWriteHVec.cxx b/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWriteHVec.cxx
index c79de5d7c590672a3c75b248f141fa0c0b4a6de8..00332d7e2f593caec65b466c960faba2fa43cdbf 100644
--- a/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWriteHVec.cxx
+++ b/Control/DataModelTest/DataModelTestDataWrite/src/xAODTestWriteHVec.cxx
@@ -70,8 +70,8 @@ StatusCode xAODTestWriteHVec::execute (const EventContext& ctx) const
     hview->push_back (hvec->at (19-i));
   }
 
-  ATH_CHECK( SG::makeHandle(m_hvecKey).record (std::move(hvec),
-                                               std::move(store)) );
+  ATH_CHECK( SG::makeHandle(m_hvecKey, ctx).record (std::move(hvec),
+                                                    std::move(store)) );
 
   SG::WriteHandle<DMTest::HView> hviewH (m_hviewKey, ctx);
   ATH_CHECK( DMTest::recordView2 (hviewH, std::move(hview)) );