Added Torfile test for lists with a single element
Modified buncode to properly handle one-element lists