PointTest tdd and hashCode method