unit tests for table.py