Extend patientfilecontroller test