[tor-commits] [tor/master] Add testing-only functions to get the subsystem config/state indices