Adds test for kmeans.getExtremes function