Fix failing test under sqlite3