Unicode handling fixes for dxpy test suite