added test for a kind of rendering component