FOP-2106: Added test case for footnote resetting when the algorithm has to restart page breaking after a too short/long node