Add get_last_insert_id tests for sqlite3 and mysql backends