tests for sqlite in sqlite_test.c