adds/passes the first test for the average rating functionality