Fixed broken EndpointMapping test