patch applied (cabal): Change finalizePackageDescription to take dep test function