[fix #51219449] BulkCreateBarcode always returns an array

I added a test for the specific case when we are creating only 1 barcode with the BulkCreateBarcode action.
All tests passed.