Add class barcode and test