added test for getRenderAs
added getrenderas unittests