Add sqlite unit test configuration. Fix adapter to pass unit tests