sqlite: add test