Added a test for window.location.hash === ""