Add tests for lstrip whitespace behavior fix

Also did peformance tests for the previous fix and saw no measurable
impact.
2 files changed