some tests with sqlite database