in browser test fixes