fixes the patient builder tests