Add test of hex2dec/dec2hex
Small change to dec2hex (hexmode -> character)