dao test fix