String toString = data.toString();
assertTrue("toString() should contain the tabular type", toString.indexOf(tableType.toString()) != -1);
assertTrue("toString() should contain index=compositeValue for compData",
toString.indexOf(Arrays.asList(data.calculateIndex(compData)) + "=" + compData) != -1);
assertTrue("toString() should contain index=compositeValue for compData2",
toString.indexOf(Arrays.asList(data.calculateIndex(compData2)) + "=" + compData2) != -1);
assertTrue("toString() should contain index=compositeValue for compData3",
toString.indexOf(Arrays.asList(data.calculateIndex(compData3)) + "=" + compData3) != -1);
}