Better utilize Chai in the HTML generator specs