Test Digits and Hexadecimal