Which of the following blood tests should be performed before a blood transfusion?