Test window.location