Test for observing a ShadowRoot