wrote a test to fin the average of all ratings