testing decoding hex number