[tor-commits] [stem/master] Make tests cross-platform & fix things that broke during a rebase