Fix strUnHex parsing of odd-length strings and add unit tests