[tor-commits] [tor/master] Add a unit test for post-loop events