few more jinja_render tests + some fixes for python3