Test to check if the activation-key's content-host limit actually limits its usage

Is there some way to grab this URL information? Because test will fail if for any reason the version number changes for example.