Fix test looking for uppercase toHex() return value.

Addresses test failing for attribute and `toHex()`

@sdesai