Skip tests that depend on a DOM when the DOM is not present