Preoperative tests are also crucial for managing any preexisting conditions. For example, patients with diabetes may need their blood sugar levels closely monitored and controlled before surgery. Similarly, patients with hypertension should have their blood pressure well-managed to reduce surgical risks.