Fixes tests for SQLite.