patch applied (cabal-branches/cabal-1.4): Add simple test case for the dependency resolution case. This should