The tests are not broken but the db test fails when the dbi driver is not installed. Make it a build time depedency.
This is required to have git-buildpackage be able to create tarballs from the git repository and was done by Jan in the debian branch as well.