fix stockbarcode test.