Add a test for calling snippet_html() twice