test_html_renderer.py added isinstance assertions to all class tests