ensure debugging output for failed tests