Update base url in tests.
Use helper function for testing equality.