Added total ratings and average rating to the pie view
Added in unit testing for HTML parsing