Fix ltrim bug (zolider), adding more test cases.

Also noted that 2nd argument to trim is a set.
Reverse Defer