add createBarcode
update test