Modified tests to function better.

Removed code from the tests and inhibited their ability to be run from multiple base urls.