Add unit tests of renderers