public void testToString() {
Tuple t = new Tuple();
t.addAttribute("Hello world!");
Assert.assertTrue(t.toString().equals("Hello world!|"));
t.addAttribute("2ndValue");
Assert.assertTrue(t.toString().equals("Hello world!|2ndValue|"));
byte[] ba = "attr1|attr2|3|4|attr5|thisdoesnotbelongtothetuple".getBytes();
int[] of2 = {0,6,12,14,16,22};
t = new Tuple(ba, of2, 5);