Update tests to use mocha-jsdom.