Add hexadecimal tests.