patch applied (cabal): Make the old test code compile