Add test for trailing whitespace.