added: another test for computeCentroids