PageRank and Hits tests and EigenvectorCentrality refactoring