features, add unit tests for 1d and 2d barcode processing