Made the test run on cli and modern browser.