tests: Fix C test for sqlite module