setRenderStateContextForTests

For test usage. This method will ensure this ComponentContext has a RenderStateContex. This is critical for tests that trigger layout calculation functionality outside of a LayoutState calculation (i.e., including willRender, Layout API, caching, etc).