make some test skip if database is sqlite

title is all
The same duplication here.