add jinja support, template rendering tests