Refactor db transactions in LoanServiceCest
Add constructor to LoanServiceCest