fixed error in PointTest code