Add more graphics unit tests.
Merge branch 'dev-master' into trac2533210

Merge dev-master into topic branch.
Remove _closePath test due to inconsistencies between implementation.
Merge branch 'trac2533210' into dev-master

Graphics tests.