Testing barycenter