Added autoParagraph to TextHelper with proper test cases