Added unit tests for Renderer