[WIP][ENH][DO.Graphics] added unit tests.

As the title says.