add ProcessingFailureException
add test for handling ProcessFailureException