Add some more test case for sqlite database