Extracted TestHtmlPageBuilder class.