Toward #40. Needs a feature test.
Barcodes should now be unique. Closes #40.