Add tests for creating/deleting tables and databases by creating/deleting pseudo-table rows. Also, fix tests that broke when pseudo-tables started returning cursors rather than arrays.