Fix some failing tool tests.
add sqlite definition