Unit tests and corrections for utf8 binary string count added.