tests now work in browser too