adds/passes the first test for the average rating functionality
Merge branch 'development'