Replace usage of 'stop_after_objects' by 'stop_on_eof' in tests
and make it the default configuration in the pytest fixture plugin.