Fix one of the Sequence#duplicate tests

[#55911802]