fixed PrescriptionService and PrescriptionServiceTest bugs