Loan and payment unit tests fix