patch applied (cabal): Catching exceptions when lifting pure tests to IO