Test window.open API for external links