check_browser_close test