add test for rendering without locals param