[tor-commits] [tor/master] Add test to explicitly check state lengths and token counts.