Fix the encoding test functions from Hex to Decimal and Octal.