added dao tests