added test to evaluate that pick centroid function returns two values from list