Added loan test