old_contents: import unittest
  
  
  from simphony.core.cuba import CUBA
  from simphony.io.data_container_description import Record
  from simphony.io.tests.abc_data_container_table_check import (
      ABCDataContainerTableCheck)
  
  
  class TestDataContainerTable(
          ABCDataContainerTableCheck, unittest.TestCase):
  
      @property
      def record(self):
          return Record
  
  
  
  
  if __name__ == '__main__':
      unittest.main()
  
new_contents: import unittest
  
  import tables
  
  from simphony.io.data_container_description import Record
  from simphony.io.tests.abc_data_container_table_check import (
      ABCDataContainerTableCheck)
  
  
  class CustomRecord(tables.IsDescription):
  
      index = tables.StringCol(itemsize=16, pos=0)
  
      class Data(tables.IsDescription):
  
          name = tables.StringCol(pos=0, itemsize=20)
          direction = tables.Float64Col(pos=1, shape=3)
          status = tables.Int32Col(pos=2)
          label = tables.Int32Col(pos=3)
          material_id = tables.Int32Col(pos=4)
          chemical_specie = tables.StringCol(pos=5, itemsize=20)
          rolling_friction = tables.Float64Col(pos=64)
          volume_fraction = tables.Float64Col(pos=65)
  
      mask = tables.BoolCol(pos=1, shape=(8,))
  
  
  class TestDataContainerTable(
          ABCDataContainerTableCheck, unittest.TestCase):
  
      @property
      def record(self):
          return Record
  
  
  class TestDataContainerTableWithCustomRecord(
          ABCDataContainerTableCheck, unittest.TestCase):
  
      @property
      def record(self):
          return CustomRecord
  
  
  if __name__ == '__main__':
      unittest.main()
  
subject: add testcase for using a custom records in DataContainerTable