Added checks for toHex8String and toHex8 methods to the 'Hex Parsing' test