Added test models and made barcode an abstract model.