Fix sqlite unit test db usage