Add test for voucher create. ref #302