Add a test to verify duplicate entries are not created on pagination failure
Add code to force pagination failures (commented out)