basic tests for base renderer
added tests for text renderer
added specs for pdf renderer