make Haskell tests return a proper exit code on failure
Merge pull request #775 from etrepum/fix-haskell-tests

make Haskell tests return a proper exit code on failure