Test Endpoint creation