Complete the test coverage of loan modules, write the tests marked with `// TODO`
Complete the test coverage of loan modules, write the tests marked with
// TODO