Use history object instead of details to determine if tests have failed