test to function bin2hex