added refund test method