The Court of Appeal has handed back the $560 million contract for Auckland pathology testing to Labtests, overturning a High Court decision last year.