fix fromhex padding+test currencies