change intrnal design of TestRenderer