[tor-commits] [tor/master] Add some unit tests.