[MAINT] Add unit test for `GraphicsView`.

As the title says.