Consolidated URLs with constants.

Throughout the code, tests included, we have many variables pointing to
a URL which is in turn used for some of our tests or default values. I
have created several new constants for these URLs and updated the code
accordingly.