Added test code for point.