Add test Grades code and Modify showRank and updateWeights test code