add test for render