whitespace test improved