tests now work in the browser