pytest_plugin: do not crash if the list of consumed messages is empty
if assert_all_objects_consumed() helper function.