add doctest for sqlite