This dependency is not needed in the test, because you are using class `aria.templates.DomElementWrapper` on the test window, which is inside an iframe. Such class is certainly available there because it is needed to load a template.