Test phonegap barcode scanner