Added whitespace trimming test