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