Fixed dao test.