[WIP][MAINT] Add tests for painting commands in Graphics module (bis)

This is a follow-up of #75 (I did a stupid mistake.)