Testing at ports paid off