Tory-linked firm involved in testing failure given new £347m Covid contract