Fixing Barcode unit tests