test HashFromBlock