Tests setter and getter loanID