Loans functional test refactored...