Centroid test