Added proper processing for failing examples in data-driven tests