Add test for shadow Dom event handler.