added hashCode test in PositionTest