add refunds and tests
one more test