Centrality and test index