Added loans test