fix XMeans tests and add support for clustering to simple tests
add DB index for clustering performance evaluation