fix witness tests [#79505744]