patch applied (cabal): Make 'make tests' runnable again