add dao tests