Fix 821. Uppercase `toHex()`. Adjust tests.