Tests for leading and trailing white-space