PointDTest tdd and median method