Wrote tests for HTML generator