Improve failure output of tests that use wc.