Added a finalize for sqlite3 when shutting down due to bad test specs