Remove DOM wrapper and create DOM using jsdom when running tests.