test for table creation