fixed refund test issue

Signed-off-by: Maurice Rickard <maurice@mauricerickard.com>
bit of code cleanup

Signed-off-by: Maurice Rickard <maurice@mauricerickard.com>