A plane and its passengers were put through mental and physical testing during the world's longest ever flight from New York to Sydney this weekend.