[MAINT] Add tests for painting commands in Graphics module.

As the title says.