What are the highest and lowest Test totals featuring four or more ducks?
And who holds the record for the most runs before lunch in first-class and Test cricket?

Stuart Broad and Jimmy Anderson, with a combined age of 74, are the second-oldest pair of fast bowlers to open a Test innings • PA Photos/Getty Images
The combined age of England's new-ball pair at Trent Bridge in the first Test - Jimmy Anderson turned 39 less than a fortnight ago, while Stuart Broad was 35 in June - was not quite the oldest for England. Back in 1947-48, Harold Butler (almost 35) and Gubby Allen, the 45-year-old captain, took the new ball against West Indies in Port-of-Spain.
You're right that "c Marsh b Lillee" is still top of this list in Tests: there were 95 such dismissals. Also for Australia, "c Gilchrist b McGrath" came close with 90, but the leading current combination is some way down the list - there have been 52 instances of "c de Kock b Rabada" so far. That assumes that New Zealand's BJ Watling really has retired - he caught 75 off Tim Southee, 57 off Trent Boult, and 55 off Neil Wagner (all including a few in the field, not as wicketkeeper).
The four ducks in England's first-innings 183 at Trent Bridge was a long way from either record. The highest total which has included four players who were out for nought was 501, by West Indies against India in Georgetown in 2002 - the local pair of Carl Hooper (233) and Shivnarine Chanderpaul (140) made up for the other failures. When South Africa totalled 429 against Bangladesh in Centurion in 2008-09, their total included five ducks (and centuries from Ashwell Prince and Mark Boucher).
The only man to achieve this distinction is Australia's David Warner, who smacked 100 not out from 56 balls against Sri Lanka in Adelaide on his 33rd birthday in October 2019. The next-highest is a more modest 60 not out, by Yuvraj Singh for India against Sri Lanka in Mohali on his 28th birthday in December 2009 (he also took 3 for 23).
The most runs in a pre-lunch session in a Test match is 130, by England's Ben Stokes, who zoomed from 74 to 204 on the second morning against South Africa in Cape Town in 2015-16. He finished with 258, including 30 fours and 11 sixes. Stokes beat the old record of 123, set by Les Ames, also for England, against South Africa at The Oval in 1935.
Steven Lynch is the editor of the updated edition of Wisden on the Ashes