updated switchToWindow tests according to updated BrowserTest class