add tests for graphics classes