Fix testing of ForgeDirection hash code.