add test for pagerank