Test /add_points_and_refresh_fn API