made updateUserGrade private and fixed one test case