Fixed the patientview tests.

Fixed the patientview tests.