Fix trailing whitespace test