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