mocks for db test