Data Class Test and Implementation of Endpoints