[tor-commits] [tor/maint-0.4.4] tests: Fix unit tests after merge of #40237