<title>{{ test_class }}</title>
<body>
    <h2>{{ test_class }}</h2>
    {% for item, details in files.iteritems() %}
    <a href="{{ details.filename }}">{{ item }} - {{ details.tc_name }}</a></br>
    {% endfor %}
</body>