Add unit test to test new context param for Renderer