Remove setServerUrl from tests as it's not the recommended way #6477