Adding tests
moved tests for rendering components into _render and removed them from pretty's private interface