Clean up extraneous output when tests fail