Refactor unitest, manage UTF8 binary
Remove usage of ValueGeometry in scalar function return