added some test and complete loan dao
disabled one test