This test requires a database activity in which at least two students have added at least two entries each, and which 'Approval required' is set to No.
1. Login as a teacher, update the database activity and select 'Count of ratings' as ratings aggregate type, 'Point' as 'Scale' -> 'Type' and 10 as 'Scale' -> 'Maximum grade'
2. Rate each of the database activity entries.
3. Check that the ratings appear correctly in the course gradebook.