test dump: add a test for dumping a table definition