Add tests to assert diff and generate-reports is swallowing exceptions.