[tor-commits] [tor/master] Add regression test for #22304