a window.location mock for testing in node