Adding failure processor for tests