Guard a test against wc that pads its output with whitespace