Add sinon spy
Mock Renderer class in RenderGraphSpec to reduce iframe generation in test process