builds #average_rating method for video model with test suite