[tor-commits] [tor/master] Add a test for the localhost case.