More operations improvements

Fixed a bug in the tube resource initialisation.
Added tests for creating labware with barcodes.
Small code tidy in operations