fixed the SQLite tests