Support for template engines beside Jinja2

If i use other template engine beside the default Jinja2 of Flask, assertion of template usage fails with error because the ``assertTemplateUsed`` method is comparing the template's ``name`` attribute which only exists in Jinja2 ``Template`` class.