Ignore 0 len words and trim words. This fixes the results: test-wc.sh now reports no difference with the expected results.