changed tests to use injected SERVER_URL from constant instead of hardcoded value