Improve output of occur-tests in case of failure