[tor-commits] [tor/master] Add tests for bug #40084