in-memory tests for sqlite3