CHANGED: Code cosmetics
ADDED: Tests for paying back debts