Add loan search tests