unit test to calculate average rating passes. need to pass the feature test next to display it on the front end