Add tests for PatientChart