Updated HtmlValidatorTest to reduce redundancy