unit tests and minor fixes to prove that multibyte chars and indents are handled correctly in line wrapping