test case for addRating added & working