Debit method fix

fixed the list method in debit and updated the test