unit test for renderer implemented