added tests for RatingService