Add test for shared worker in dom.