testing patientlist code