Add test for table name setting