These lines test the behaviour that this commit changes - the URL is no longer set immediately.