test codes of sqlite3