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