Scrubs trailing whitespace in tests.