[BUGFIX] Fix warnings in db backend unit tests