[TEST] Make BulkTests#testBulkProcessorFlush more robust