[tor-commits] [tor/master] Add test for expected output from encode{, d}_length functions