Trace dangling statements.
Add bindings to sqlite3_initialize/sqlite3_shutdown.
Clean up tests.