Few unit test for Endpoint added