shadow-dom: Update a test that checks invariants across distribution.