add spec for renderer.