Add unit tests for renderers