[BUGFIX] Unit tests for dbbackend throw db errors