Added a test for getting back an object and uses the location.window.search property instead of location.window.href