Add test for single UTF8 line
Bug fix. Removes working with string through slice[...len(str)...].