We no longer create the barcode/price map on every invocation of on_barcode()
Moved hardcoded production code out towards the tests