So long as the test is within 48 hours of the AUH flight then you should be fine. The bit that isn't all that clear is whether they want it to be before your first flight on a single PNR or the flight to AUH but I would always err with caution and reference the AUH flight as the gate agent may not be as up on the situation