Fixed HTML tests in the case that lxml is not available as a backend
Merge pull request #2813 from amras1/handle-no-lxml

Fixed HTML tests in the case that lxml is not available as a backend