I think the meaning of the tests would be clearer as 3 test_that blocks each with the same variable names viz, info, html (rather than the numbered variable names viz1, viz2, info1, info2, html1, html2).