Added tests for image renderer