Make all the tests work in the browser