fixed sqlite unit test