completes average ratings section. All tests pass