TJ/HM: added test to verify the +1 addition in OaiSortingCollector for early termination.