diff --git a/GaudiExamples/tests/qmtest/gaudiexamples.qms/aida2rootex.qmt b/GaudiExamples/tests/qmtest/gaudiexamples.qms/aida2rootex.qmt
index c0b5cbe151214afa98594645a280a41ebece3e5e..796b6e3d8f74aaae8f2c41c58af6d1196e747356 100644
--- a/GaudiExamples/tests/qmtest/gaudiexamples.qms/aida2rootex.qmt
+++ b/GaudiExamples/tests/qmtest/gaudiexamples.qms/aida2rootex.qmt
@@ -1,6 +1,6 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <!--
-    (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
+    (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
 
     This software is distributed under the terms of the Apache version 2 licence,
     copied verbatim in the file "LICENSE".
@@ -14,10 +14,9 @@
   <argument name="args"><set><text>-b</text></set></argument>
   <argument name="use_temp_dir"><enumeral>true</enumeral></argument>
   <argument name="reference"><text>refs/Aida2RootEx.ref</text></argument>
-  <argument name="error_reference"><text>refs/Aida2RootEx.err.ref</text></argument>
   <argument name="validator"><text>
 preprocessor = (normalizeExamples +
-     LineSkipper(regexps = [r'Info in &lt;TCanvas::Print&gt;: png file .* has been created']))
+     LineSkipper(regexps = [r'INFO png file .* has been created']))
 
 validateWithReference(preproc = preprocessor)
  </text></argument>
diff --git a/GaudiExamples/tests/qmtest/gaudiexamples.qms/jira.qms/gaudi_971.qmt b/GaudiExamples/tests/qmtest/gaudiexamples.qms/jira.qms/gaudi_971.qmt
index a8be97adc1c2ba0a4fa302a745431cda87cbe947..20355af5385c2c29bc8ddd3fe547e421508f74f6 100644
--- a/GaudiExamples/tests/qmtest/gaudiexamples.qms/jira.qms/gaudi_971.qmt
+++ b/GaudiExamples/tests/qmtest/gaudiexamples.qms/jira.qms/gaudi_971.qmt
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <!--
-    (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
+    (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
 
     This software is distributed under the terms of the Apache version 2 licence,
     copied verbatim in the file "LICENSE".
@@ -61,7 +61,6 @@ preprocessor = normalizeExamples + \
 validateWithReference(preproc = preprocessor)
 </text></argument>
 <argument name="reference"><text>refs/jira/gaudi_971.ref</text></argument>
-<argument name="error_reference"><text>refs/jira/gaudi_971.err.ref</text></argument>
 <argument name="use_temp_dir"><enumeral>true</enumeral></argument>
 <argument name="prerequisites"><set>
   <tuple><text>gaudiexamples.root_io.write</text><enumeral>PASS</enumeral></tuple>
diff --git a/GaudiExamples/tests/qmtest/gaudiexamples.qms/return_codes.qms/input_file.qmt b/GaudiExamples/tests/qmtest/gaudiexamples.qms/return_codes.qms/input_file.qmt
index 5fa308f3575f4b1e9255d4fee882dd91e6d14c0c..f10bac32a17f15251d6f9f27dcb3f2167687cf9a 100644
--- a/GaudiExamples/tests/qmtest/gaudiexamples.qms/return_codes.qms/input_file.qmt
+++ b/GaudiExamples/tests/qmtest/gaudiexamples.qms/return_codes.qms/input_file.qmt
@@ -1,6 +1,6 @@
 <?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
 <!--
-    (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
+    (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
 
     This software is distributed under the terms of the Apache version 2 licence,
     copied verbatim in the file "LICENSE".
@@ -24,14 +24,11 @@ EventSelector(Input = ["DATAFILE='PFN:none.dst'  SVC='Gaudi::RootEvtSelector' OP
 app = ApplicationMgr(TopAlg = [sla(EventCount = 3, Mode = "failure")],
                      EvtMax = 5)
 </text></argument>
+<argument name="exit_code"><integer>2</integer></argument>
 <argument name="validator"><text>
-preprocessor = normalizeExamples + \
-    RegexpReplacer(when = "TFile::TFile",
-        orig = r"file (.*)none.dst does not exist",
-        repl = r"file .../none.dst does not exist")
-
-validateWithReference(preproc = preprocessor)
+expected = "/none.dst does not exist"
+if not expected in stdout:
+    causes.append("missing signature")
+    result["GaudiTest.expected_line"] = result.Quote(expected)
 </text></argument>
-<argument name="error_reference"><text>refs/return_codes/input_file.err.ref</text></argument>
-<argument name="exit_code"><integer>2</integer></argument>
 </extension>
diff --git a/GaudiExamples/tests/qmtest/refs/Aida2RootEx.err.ref b/GaudiExamples/tests/qmtest/refs/Aida2RootEx.err.ref
deleted file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000
diff --git a/GaudiExamples/tests/qmtest/refs/Aida2RootEx.ref b/GaudiExamples/tests/qmtest/refs/Aida2RootEx.ref
index d3300f8ece596d79cc2073039a1242dc122e9eaa..b685e9db82cbf4074a7bd99c02f9238f5375fa90 100644
--- a/GaudiExamples/tests/qmtest/refs/Aida2RootEx.ref
+++ b/GaudiExamples/tests/qmtest/refs/Aida2RootEx.ref
@@ -256,6 +256,18 @@ Aida2RootEx2         INFO AIDA object: 'HistoEx2/ x vs y+3x (profile)'
 TH1.Print Name  =  x vs y+3x (profile), Entries= 5000, Total sum= -2.1759
 Aida2RootEx2         INFO AIDA object: 'HistoEx2/ x vs y-3x (profile)'
 TH1.Print Name  =  x vs y-3x (profile), Entries= 5000, Total sum= -2.24644
+TCanvas::Print       INFO png file HistoEx__1D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx__2D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx__3D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx1__1D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx1__2D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx1__3D_histo_.png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y____.png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y+3x_.png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y-3x_.png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y____(profile).png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y+3x_(profile).png has been created
+TCanvas::Print       INFO png file HistoEx2__x_vs_y-3x_(profile).png has been created
 The file name is 'HistoEx__1D_histo_.png'
 The file name is 'HistoEx__2D_histo_.png'
 The file name is 'HistoEx__3D_histo_.png'
diff --git a/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.err.ref b/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.err.ref
deleted file mode 100644
index a181338a5325c3c89479816348e2fd2cde69345b..0000000000000000000000000000000000000000
--- a/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.err.ref
+++ /dev/null
@@ -1 +0,0 @@
-Error in <TFile::TFile>: file dummy.dst does not exist
diff --git a/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.ref b/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.ref
index 92a502ba8ff968fffac431c9e6747135cf3cbcc3..8ccc7d21ce8e85e9bf221a2fcdb36a0b657f1feb 100644
--- a/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.ref
+++ b/GaudiExamples/tests/qmtest/refs/jira/gaudi_971.ref
@@ -59,6 +59,7 @@ EventSelector.D...  DEBUG Selection root:/Event CLID:110
 EventSelector        INFO Stream:EventSelector.DataStreamTool_1 Def:DATAFILE='LFN:input.dst'  SVC='Gaudi::RootEvtSelector' OPT='READ'
 ApplicationMgr       INFO Application Manager Initialized successfully
 ApplicationMgr       INFO Application Manager Started successfully
+TFile::TFile        ERROR file .../dummy.dst does not exist
 IODataManager       ERROR Error: connectDataIO> Cannot connect to database: PFN=dummy.dst FID=8BE41ECA-4004-11ED-8ECA-54AB3A714084
 IODataManager     WARNING Attempt to connect dsn:8BE41ECA-4004-11ED-8ECA-54AB3A714084 with next entry in data federation:ROOTIO.dst.
 FileRecordPersi...   INFO Added successfully Conversion service:RootCnvSvc
diff --git a/GaudiExamples/tests/qmtest/refs/return_codes/input_file.err.ref b/GaudiExamples/tests/qmtest/refs/return_codes/input_file.err.ref
deleted file mode 100644
index 5fdafce338742f157def4321c2928b40b0283fa8..0000000000000000000000000000000000000000
--- a/GaudiExamples/tests/qmtest/refs/return_codes/input_file.err.ref
+++ /dev/null
@@ -1 +0,0 @@
-Error in <TFile::TFile>: file none.dst does not exist