rename EndpointTest to EndpointTestCase