test of function bin2hex()