Add test to test clear RendererAdapter