PointDTest tdd and hashCode method