Fixed sqlite3 tests