Unit test for Debit