Merge "libutils: add unit tests for invalid utf-8 and utf-16 strings"