Fixing case for information_schema.tables.
First satisfactory refactor test, now using the sqlgen package.