Bug fix BarCodeTest