Add pending order cancellation test
Add pending order cancellation test

When cancelling an order that had captured store credits the refunding
of those credits fails. This is due to some code in the store credit
payment method which had some misleading tests.

Arpsara/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,jordan-brough/solidus,jordan-brough/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus