Added Client to Loans and fixed Test