Added test page for location.replace