adding tests for barcode detection