[misc] Started writing unit tests for the patient-data-api module