some test on lending controller