Added tests for render.