Fixed date test for sqlite3