tests for the renderer