whitespace and 'both' tests