add test to ConvertHtmlToPdf