add tests for getGraphicWork