fix test, since we pass nothing to the callback if no bitpay invoice generated