add more tests and add Table.c