TextHelper unit test