[tor-commits] [metrics-lib/release] Tweak tests for removing deprecated code for #22154.