Fix HTML content tests