Fix AzureEndpointTest