Added client endpoint tests