PointTest tdd and median method