[Endpoint] test fix