For Html sitebricks template example, see HtmlValidatingAcceptanceTest and HtmlValidatingAsFormAcceptanceTest