patched test for dynamically-adding-a-custom-element-to-the-dom.html