Proper test_sorted_points