Change test environment to be run in the browser, rather than with node