public void testAsFormatString() {
   String formatString = test.asFormatString();
   Vector vec = AbstractVector.decodeVector(formatString);
   assertEquals(vec, test);
 }
 public void testDecodeVector() throws Exception {
   Vector val = AbstractVector.decodeVector(test.asFormatString());
   for (int i = 0; i < test.size(); i++) {
     assertEquals("get [" + i + ']', test.get(i), val.get(i));
   }
 }