Use db_value_t for all database operation tests, SQLite does finish successfully now.