add db stub for CI tests