[tor-commits] [tor/master] Add consensus weight calculation tests