We no longer need to mock the dbi object

Signed-off-by: Michal Čihař <michal@cihar.com>