Test for table definition