With libxml2 2.9.12 this test started failing, it was reported upstream at https://github.com/pywemo/pywemo/issues/268.