Fix browser test issues