added tests to html_render.py