Fix. Create temp db in test via SQLite interface.
Add first_XXX methods for db and stmt